import Vue from 'vue'
import Vuex from 'vuex'
import user from './module/user'
import cart from './module/cart'
import address from './module/address'
import getters from './getter'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        user,
        cart,
        address
    },
    getters
})

export default store